import { createBrowserRouter } from 'react-router-dom'
import configRoutes from './config'

// routes 进行抽离 存放到 config.js 文件中

export default createBrowserRouter(configRoutes)